package com.briup.bookstore.common.exception;

import com.briup.bookstore.common.response.ResultCode;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * @author YuYan
 * @date 2023-11-29 10:10:14
 */
@Getter
@RequiredArgsConstructor
public class CustomException extends RuntimeException {

    /**
     * 保存异常状态码信息
     */
    private final ResultCode resultCode;

}
